Without this flag, changes resulting in invalid gschemas are ignored and
easily lost within the compilation input. In CI and some development
workflows this may let bad builds through.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3262>
custom_target('compile-schemas',
input: schema,
output: 'gschemas.compiled',
- command: [find_program('glib-compile-schemas'), data_builddir],
+ command: [find_program('glib-compile-schemas'), '--strict', data_builddir],
build_by_default: true)